package design.principles.lsp.after2;

public class Client {
    public static void main(String[] args) {
        feedTheBird(new Crow());
        letTheBirdFly(new Crow());
        feedTheBird(new Penguin());
        //letTheBirdFly(new Penguin());
    }

    static void feedTheBird(Bird bird) {
        bird.eat();
    }

    static void letTheBirdFly(FlyingBird bird) {
        bird.fly();
    }
}
